package com.fastloan.safe.mgt.org.model.vo;

import com.kawins.supers.tree.annonation.TreeChild;
import com.kawins.supers.tree.annonation.TreeId;
import com.kawins.supers.tree.annonation.TreeParentId;

import java.util.List;

/**
 * @author rankai
 *         createTime 2017-10-2017/10/18 11:33
 */
public class OrgTreeVo {

    @TreeId
    private String id;

    @TreeParentId
    private String parentId;

    private Integer orgType;

    private String name;

    private String isCheck;

    @TreeChild
    private List<OrgTreeVo> orgTreeVos;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public OrgTreeVo setParentId(String parentId) {
        this.parentId = parentId;
        return this;
    }

    public Integer getOrgType() {
        return orgType;
    }

    public OrgTreeVo setOrgType(Integer orgType) {
        this.orgType = orgType;
        return this;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<OrgTreeVo> getOrgTreeVos() {
        return orgTreeVos;
    }

    public void setOrgTreeVos(List<OrgTreeVo> orgTreeVos) {
        this.orgTreeVos = orgTreeVos;
    }

    public String getIsCheck() {
        return isCheck;
    }

    public OrgTreeVo setIsCheck(String isCheck) {
        this.isCheck = isCheck;
        return this;
    }
}
